package com.gxa.community.core.pojo.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author juran
 * @since 2022-07-19
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "AfterSales对象", description = "售后管理")
public class AfterSalesVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("售后编号")
    private String no;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("关联订单")
    private OrderInfoVo orderInfo;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 自提点名称
     */
    private String point;

    /**
     * 自提点类型
     */
    private Integer pointType;

    /**
     * 用户名
     */
    private String userNick;


    @ApiModelProperty("问题描述")
    private String desc;

    @ApiModelProperty("售后类型")
    private Integer type;

    /**
     * 售后类型
     */
    private Integer asType;

    @ApiModelProperty("申请售后原因")
    private Integer requestReason;

    @ApiModelProperty("申请退款金额")
    private Double requestRefund;

    @ApiModelProperty("凭证(截图)")
    private String pic;

    @ApiModelProperty("申请时间")
    private Long createTime;

    @ApiModelProperty("审核时间")
    private Long reviewTime;

    @ApiModelProperty("退款时间")
    private Long refundTime;

    @ApiModelProperty("退款金额")
    private Double refund;

    @ApiModelProperty("驳回原因")
    private String rejectReason;

    @ApiModelProperty("售后状态 1待审核(申请中) 2已通过 3已拒绝 0已取消")
    private Integer status;

    //手机号
    @ApiModelProperty("手机号")
    private String phone;
}
